#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "dumpthread.h"
#include "XDPER.H"
#include "devnodelist.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    devNodeList             devList;            //设备列表

signals:

private slots:
    void on_connectButton_clicked();

    void on_disconnectButton_clicked();

    void on_pingButton_clicked();

private:
    Ui::MainWindow *ui;
    DumpThread              *devCheckThread;    //获取链接设备线程

    DPHANDLE	handle;
    DEVINFO		di;
    UPDINFO		updi;
};

#endif // MAINWINDOW_H
